package com.arron.ssm.service;

import com.arron.ssm.entity.Employee;

import java.util.List;

/**
 * @Classname EmployeeService
 * @Date 2020/9/23 18:13
 * @Created by 刘
 */
public interface EmployeeService {

    //按照id查询员工
    Employee queryEmpById(Long id);

    //查询所有员工
    List<Employee> queryAllEmp();

    //添加员工
    Integer addEmp(Employee employee);

    //按照id删除员工
    Integer removeById(Long id);

    //修改员工
    Integer updateById(Employee employee,Long id);

}

